import Vue from 'vue'
import { Icon, Grid, GridItem, Image, 
    Toast, Empty, Button, Loading, Overlay, 
    Dialog, Popup, Uploader, ImagePreview, 
    ActionSheet, Tab, Tabs, Divider, Lazyload, 
    Sticky, Tag, List, NavBar, Field, Swipe,
     SwipeItem, Search, Step, Steps, PasswordInput, 
     NumberKeyboard} from 'vant';
import { Circle } from 'vant';
import { Progress } from 'vant';
import { Cell, PullRefresh  } from 'vant';
import { Slider, ShareSheet } from 'vant';
import { SwipeCell, Checkbox, Stepper, Switch } from 'vant';

Vue.prototype.$Toast = Toast
Vue.prototype.$Dialog = Dialog
Vue.prototype.$ImagePreview = ImagePreview

Vue.use(Switch);
Vue.use(Stepper);
Vue.use(SwipeCell);
Vue.use(ShareSheet);
Vue.use(Checkbox);
Vue.use(Slider);
Vue.use(Dialog);
Vue.use(PullRefresh);
Vue.use(Cell);
Vue.use(Progress);
Vue.use(Circle);
Vue.use(Icon)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Image)
Vue.use(Empty);
Vue.use(Button);
Vue.use(Loading);
Vue.use(Overlay);
Vue.use(Popup);
Vue.use(Uploader);
Vue.use(ActionSheet);
Vue.use(Tab);
Vue.use(Tabs);
Vue.use(Divider);
Vue.use(Sticky);
Vue.use(Tag);
Vue.use(List);
Vue.use(NavBar);
Vue.use(Field);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Search);
Vue.use(Step);
Vue.use(Steps);
Vue.use(PasswordInput);
Vue.use(NumberKeyboard);


Vue.use(Lazyload, {
    lazyComponent: true,
  });
